﻿using Common.MQ;
using System;
using System.Collections.Generic;
using System.Text;

namespace Common.RabbitMQ
{
    /// <summary>
    /// 队列描述
    /// </summary>
    public class QueueSpec : IDestination
    {
        /// <summary>
        /// 队列
        /// </summary>
        public string Queue { get; set; }
        /// <summary>
        /// 交换机
        /// </summary>
        public string Exchange { get; set; }
        /// <summary>
        /// 路由
        /// </summary>
        public string RoutingKey { get; set; }
        /// <summary>
        /// 虚拟主机
        /// </summary>
        public string VirtualHost { get; set; }
        /// <summary>
        /// 交换机类型
        /// </summary>
        public ExchangeWorkMode ExchangeType { get; set; }
    }
}
